package com.ibeeking.found.file.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ibeeking.found.file.service.common.dos.CommonFileDO;
import com.ibeeking.found.file.service.common.vo.CommonFileListVO;
import com.ibeeking.found.file.service.common.vo.CommonFileUserVO;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommonFileMapper extends BaseMapper<CommonFileDO> {
    List<CommonFileUserVO> selectCommonFileUser(@Param("userId") String userId);
    List<CommonFileListVO> selectCommonFileByUser(@Param("userId") String userId, @Param("sessionUserId") String sessionUserId);

}
